package com.zmj.sy.mom.srv.aps.bean.vo.prescheduled;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

@Getter
@Setter
public class PreScheduledAnalysisReportResVo {

    @ApiModelProperty("订单编号")
    private String orderCode;

    @ApiModelProperty("施工号")
    private String constructNo;

    @ApiModelProperty("生产平衡率")
    private BigDecimal balanceRate;

    // ------生产计划各工序耗时--
    @ApiModelProperty("产品名称")
    private String materName;

    @ApiModelProperty("订单数量")
    private Integer orderQty;

    @ApiModelProperty("分包数量")
    private Integer packageQty;

    @ApiModelProperty("计划开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime planStartDateTime;

    @ApiModelProperty("计划结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime planEndDateTime;

    @ApiModelProperty("生产计划各工序耗时统计")
    private List<PreScheduledAnalysisReportPhaseResVo> phaseData = new ArrayList<>();

    @ApiModelProperty("前10工作组总负荷")
    private List<PreScheduledAnalysisReportGroupResVo> groupData = new ArrayList<>();

    @ApiModelProperty("物料需求")
    private List<PreScheduledAnalysisReportPlateResVo> plateData = new ArrayList<>();

    @ApiModelProperty("钢板数量")
    private BigDecimal plateCount;

    @ApiModelProperty("焊丝数量（公斤)")
    private BigDecimal weldingWireCount;

    @ApiModelProperty("漆粉数量（公斤)")
    private BigDecimal lacquerPowderCount;

    @ApiModelProperty("外购件总体需求")
    private List<PreScheduledAnalysisReportWlResVo> wlData = new ArrayList<>();

    @ApiModelProperty("外购件数量")
    private BigDecimal wlCount;


}
